using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using clf.weighing.entity;

namespace weighing
{
    public class UserRoleVo : BaseVo
    {
        #region Constract
        public UserRole mUserRole;
        public UserRoleVo(UserRole userRole)
        {
            mUserRole = userRole;
        }
        #endregion

        public Int64 Id { 
            get { return mUserRole.id; } 
            set { mUserRole.id = value; OnPropertyChanged(this, nameof(Id)); 
            } 
        }

        public Int64 UserId { 
            get { return mUserRole.userId; } 
            set { mUserRole.userId = value; OnPropertyChanged(this, nameof(UserId)); } 
        }

        public Int64 RoleId { 
            get { return mUserRole.roleId; } 
            set { mUserRole.roleId = value; OnPropertyChanged(this, nameof(RoleId)); } 
        }

    }
}
